import request from '@/utils/request'

// 查询客户月度统计信息-总列表
export function listScmStatsCustomerMonthly(query) {
  return request({
    url: '/scm/scmStatsCustomerMonthly/list',
    method: 'get',
    params: query
  })
}

// 查询客户月度统计信息-总详细
export function getScmStatsCustomerMonthly(id) {
  return request({
    url: '/scm/scmStatsCustomerMonthly/' + id,
    method: 'get'
  })
}

// 新增客户月度统计信息-总
export function addScmStatsCustomerMonthly(data) {
  return request({
    url: '/scm/scmStatsCustomerMonthly',
    method: 'post',
    data: data
  })
}

// 修改客户月度统计信息-总
export function updateScmStatsCustomerMonthly(data) {
  return request({
    url: '/scm/scmStatsCustomerMonthly',
    method: 'put',
    data: data
  })
}

// 删除客户月度统计信息-总
export function delScmStatsCustomerMonthly(id) {
  return request({
    url: '/scm/scmStatsCustomerMonthly/' + id,
    method: 'delete'
  })
}
